package cn.itcast.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("cn.itcast.order.mapper")
@SpringBootApplication(scanBasePackages = "cn")  //扩展扫描目录到comoon模块
@EnableFeignClients  // 开启Feign的支持功能
/*ComponentScan导入公共模块bean教程：
https://blog.csdn.net/qq_25610165/article/details/97131173
https://blog.csdn.net/jeason13920089655/article/details/110619214
*/
//@ComponentScan(basePackages = {"cn.itcast.common","cn.itcast.order"})
//Eureka客户端
//@EnableEurekaClient

public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }

}